package paranoid;

public class PersionService implements Persion{
    @Override
    public void login(String username) {
        if (username.equals("张三")){
            System.out.println(username + "正在登录");
        }else {
            throw new RuntimeException("用户名不正确");
        }
    }
}
